using UnityEngine;

public class AnimationSpeed : MonoBehaviour
{
    [SerializeField]
    float _speed;
    private void OnEnable()
    {
        var animation = GetComponent<Animation>();
        foreach (AnimationState item in animation)
        {
            item.speed = _speed;
        }
    }

}
